<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="box">
            <img id="img" src="http://192.168.0.14/group1/M00/00/0E/wKgADl1LysWAEhnEAAmjAEHUjrE527.jpg" alt="错误">

    </div>
    <script>
    let box = document.getElementById('box')
    console.log(' box: ', box)
    let img = box.getElementById('img')
    console.log(' document: ', document)
    console.log(' img: ', img)
    </script>
</body>
</html>